home *** CD-ROM | disk | FTP | other *** search
/ FishMarket 1.0 / FishMarket v1.0.iso / fishies / 301-325 / disk_319 / cnewssrc / cnews.orig.lzh / man / bencode.man next >
Text File  |  1989-06-28  |  2KB  |  67 lines

  1.  
  2.  
  3.  
  4.      BBBBEEEENNNNCCCCOOOODDDDEEEE((((1111))))       XXXXEEEENNNNIIIIXXXX SSSSyyyysssstttteeeemmmm VVVV ((((9999 JJJJaaaannnnuuuuaaaarrrryyyy 1111999988888888))))       BBBBEEEENNNNCCCCOOOODDDDEEEE((((1111))))
  5.  
  6.  
  7.  
  8.      NNNNAAAAMMMMEEEE
  9.           bencode, bdecode - encode a binary file into printable
  10.           ASCII; decode it back into binary.
  11.  
  12.      SSSSYYYYNNNNOOOOPPPPSSSSIIIISSSS
  13.           bbbbeeeennnnccccooooddddeeee [[[[ssssoooouuuurrrrcccceeee]]]]
  14.           bbbbddddeeeeccccooooddddeeee [[[[ssssoooouuuurrrrcccceeee]]]]
  15.  
  16.      DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
  17.           _B_e_n_c_o_d_e is used to a encode a binary file into printable
  18.           ASCII, and _b_d_e_c_o_d_e is used to decode an encoded file back
  19.           into binary.  These functions are typically used to package
  20.           a binary file for mailing.
  21.  
  22.           _B_e_n_c_o_d_e takes the named source file (the default is standard
  23.           input) and produces an encoded version on the standard
  24.           output.  The encoding uses only the ASCII characters ``A'' -
  25.           ``Z'', ``a'' - ``z'', ``0 - ``9'', ``+'', and ``-''.  The
  26.           ASCII characters blank, newline, and ``/'' also appear in
  27.           the encoded file, but do not represent encoded bits.  The
  28.           encoded file is terminated with a byte count and cyclic
  29.           redundancy check for detecting corrupted files.
  30.  
  31.           _B_d_e_c_o_d_e reads a file encoded by bencode (the default is
  32.           standard input), strips off any leading and trailing lines
  33.           added by mailers, and writes the decoded version to standard
  34.           output.
  35.  
  36.           These functions are similar to _u_u_e_n_c_o_d_e and _u_u_d_e_c_o_d_e, but
  37.           are more robust because of the CRC check and because they
  38.           don't send characters like ``^'' and ``\'', which are likely
  39.           to get mangled if the file should happen to pass through a
  40.           non-ASCII machine.
  41.  
  42.      SSSSEEEEEEEE AAAALLLLSSSSOOOO
  43.           uuencode(1)
  44.  
  45.      AAAAUUUUTTTTHHHHOOOORRRRSSSS
  46.           Ken Lalonde and Reg Quinton
  47.  
  48.      BBBBUUUUGGGGSSSS
  49.           The file is expanded by 35% (3 bytes become 4 plus control
  50.           information) causing it to take longer to transmit.
  51.  
  52.  
  53.  
  54.  
  55.  
  56.  
  57.  
  58.  
  59.  
  60.  
  61.  
  62.  
  63.      Page 1                                          (printed 6/29/89)
  64.  
  65.  
  66.  
  67.